package com.laozhao.framework.snow.view;

import java.util.Map;

import javax.swing.JScrollPane;

import org.jdesktop.swingx.JXTaskPaneContainer;

import com.laozhao.framework.snow.AreaModel;
import com.laozhao.framework.snow.PageModel;

/**
 * -------------------------------------------------<br>
 * |MenuBar<br>
 * -------------------------------------------------<br>
 * |ToolBar                    |right navigation<br>
 * ----------------------------|<br>
 * |message okBtn cancelBtn    |<br>
 * ----------------------------|<br>
 * |search panel               |<br>
 * ----------------------------|<br>
 * |view panel                 |<br>
 * ----------------------------|<br>
 * |editor panel               |<br>
 * --------------------------------------------------<br>
 * @author zdongmen
 *
 */
public class DefaultPanelPage extends AbstractPanelPage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7011239473442426001L;

	public DefaultPanelPage(){
		super();
	}
	
	public DefaultPanelPage(PageModel pageModel){
		super(pageModel);
	}
	
	@Override
	public void build(){
		super.build();
		
	}
	

	@Override
	public void setNavigationBar(AreaModel area) {
		if (area != null) {
			JXTaskPaneContainer tpc = new JXTaskPaneContainer();
//			if () {
//				
//			}
			this.navigationBar = new JScrollPane(tpc);
		}
		
	}

	@Override
	public void setSearchPanel(AreaModel searchPanel) {
//		this.searchPanel = searchPanel;
	}

	@Override
	public void setViewPanel(AreaModel viewPanel) {
//		this.viewPanel = viewPanel;
	}

	@Override
	public void setEditorPanel(AreaModel editorPanel) {
//		this.editorPanel = editorPanel;
	}

	@Override
	public void setMenuBar(AreaModel menuBar) {
//		this.menuBar = menuBar;
	}


	@Override
	public void setToolBar(AreaModel toolBar) {
//		this.toolBar = toolBar;
	}

	@Override
	public void setMessageBar(AreaModel messageBar) {
//		this.messageBar = messageBar;
	}



}
